package com.xsg.printer.core.enums;

public enum AlignEnum {

    TOP_LEFT("top_left", "靠左"),

    TOP_RIGHT("top_right", "靠右"),

    BOTTOM_LEFT("bottom_left", "靠下"),

    BOTTOM_RIGHT("bottom_right", "靠下"),

    LR_CENTER("lr_center", "左右居中"),

    TB_CENTER("tb_center", "上下居中"),

    CENTER("center", "上下左右居中"),
    ;

    private String code;
    private String name;

    public String getCode(){
        return this.code;
    }

    public String getName(){
        return this.name;
    }

    AlignEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
